Run Hermes adapter through local harness - #35
Conversation
|
Codex review: needs changes before merge. Reviewed August 5, 2026, 4:36 AM ET / 08:36 UTC. ClawSweeper reviewWhat this changesThe PR enables registered local adapters such as Hermes to run through the benchmark harness, adds workspace-first prompt guidance, and adds file-oriented lifecycle tests. Merge readiness⛔ Blocked by patch quality or review findings - 5 items remain Keep open: current main still rejects Hermes as unwired, but this branch incorrectly scores any supported adapter state query through a failing gateway shim instead of the adapter verifier. Priority: P2 Review scores
Verification
How this fits togetherShellBench runs benchmark tasks through an agent adapter, then scores workspace artifacts and persistent state. This PR changes how non-OpenClaw adapters enter that lifecycle and how their outcomes reach completion scoring. flowchart LR
Tasks[Benchmark tasks] --> Harness[Benchmark harness]
Harness --> Adapter[Selected agent adapter]
Adapter --> Workspace[Task workspace]
Adapter --> State[Adapter state verification]
Workspace --> Scoring[Completion scoring]
State --> Scoring
Scoring --> Results[Benchmark results]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Land the generic adapter lifecycle only after completion scoring uses the live adapter verifier for state queries and preserves the neutral capability-missing policy. Do we have a high-confidence way to reproduce the issue? Yes—source inspection provides a high-confidence path: run a local adapter that declares a state capability and verify that its successful state query is currently sent to the failing gateway shim instead. Is this the best way to solve the issue? No—the lifecycle should not substitute a gateway shim for the adapter-owned verification contract; retain the adapter/context through scoring and cover a stateful capability. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (37 earlier review cycles; latest 8 shown)
|
Summary
Validation
/Users/reckon/miniconda3/bin/python -m pytest tests/test_harness.py tests/test_hermes_adapter.py -q->21 passed/Users/reckon/miniconda3/bin/python -m pytest -q->318 passed, 5 skippedt2-msg-summarize-threadimproved from0.63704to1.000with the workspace-guidance patch.Notes
adapter != "openclaw"through the adapter lifecycle.